package me.jessyan.armscomponent.app.mvp.model.learn;

import android.app.Application;

import com.google.gson.Gson;
import com.jess.arms.di.scope.ActivityScope;
import com.jess.arms.integration.IRepositoryManager;
import com.jess.arms.mvp.BaseModel;

import javax.inject.Inject;

import me.jessyan.armscomponent.app.mvp.contract.learn.CommonWebViewContract;


/**
 * <p>
 * Author: Taozebi
 * Date: 08/08/2021 15:36
 * Description: describe of this class
 */
@ActivityScope
public class CommonWebViewModel extends BaseModel implements CommonWebViewContract.Model {
    @Inject
    Gson mGson;
    @Inject
    Application mApplication;

    @Inject
    public CommonWebViewModel(IRepositoryManager repositoryManager) {
        super(repositoryManager);
    }

    @Override
    public void onDestroy() {
        super.onDestroy();
        this.mGson = null;
        this.mApplication = null;
    }

}